
#include <cmath>

#include "testcase.h"

#include "auxmath.h"

using namespace Tester;
using namespace Math;

class AuxMathTest : public TestCase<AuxMathTest> {
   public:
      AuxMathTest() : TestCase<AuxMathTest>("Test de funciones auxiliares", __FILE__) {
         add("Factorial", &AuxMathTest::testFactorial);
      }


      void testFactorial() {
         assertTrue( int(factorial(5)) == 120);
      }

};

namespace {
   AuxMathTest test;
}

